import { request } from '@umijs/max';

export interface LogisticsItem {
  id: string;
  principal: string;
  address: string;
  state: string;
  quantity: string;
  way: string;
  linkman: string;
  phone: string;
  showtime: number;
}

export const logisticsList = async () => {
  return request('/api/logistics');
};
